<form id="user-detail" action="{{route('b_User_editUser',['id'=>$info->member_id,'action'=>'detail'])}}" method="post">
    {{csrf_field()}}

    @component('backend::component.form.form-group')
        @slot('title') 身份证号 @endslot
        @component('backend::component.form.input')
            @slot('name') ID_card @endslot
                @slot('value') {{$info->info->ID_card ?? ''}} @endslot
        @endcomponent
    @endcomponent

    @component('backend::component.form.form-group')
        @slot('title') 身份证正面 @endslot
        @component('backend::component.upload.upload_img',['imgList'=>[$info->info->ID_card_front=>$info->info->ID_card_front]])
            @slot('name') ID_card_front @endslot
            @slot('title') 上传图片 @endslot
            @slot('img_num')1 @endslot
            @slot('group') IDcard @endslot
                @slot('value') {{$info->info->ID_card_front}} @endslot
        @endcomponent
    @endcomponent

    @component('backend::component.form.form-group')
        @slot('title') 身份证反面 @endslot
        @component('backend::component.upload.upload_img',['imgList'=>[$info->info->ID_card_back=>$info->info->ID_card_back]])
            @slot('name') ID_card_back @endslot
            @slot('title') 上传图片 @endslot
            @slot('img_num')1 @endslot
            @slot('group') IDcard @endslot
                @slot('value') {{$info->info->ID_card_back}} @endslot
        @endcomponent
    @endcomponent

    @component('backend::component.form.form-group')
        @slot('title') 支付宝 @endslot
        @component('backend::component.form.input')
                @slot('name') alipay @endslot
                @slot('value') {{$info->info->alipay ?? ''}} @endslot
        @endcomponent
            @slot('remark') 必须是本人名下支付宝 @endslot
    @endcomponent

    @component('backend::component.form.form-group')
        @slot('title') 微信 @endslot
        @component('backend::component.form.input')
                @slot('name') weichat @endslot
                @slot('value') {{$info->info->weichat ?? ''}} @endslot
        @endcomponent
                @slot('remark') 必须是本人名下微信 @endslot
    @endcomponent

        @component('backend::component.form.form-group')
                @slot('title') 收款码 @endslot
                @component('backend::component.upload.upload_img',['imgList'=>[$info->info->receiving_code=>$info->info->receiving_code]])
                        @slot('name') receiving_code @endslot
                        @slot('group') voucher @endslot
                        @slot('value') {{$info->info->receiving_code}} @endslot
                @endcomponent
        @endcomponent

    @component('backend::component.form.form-group')
                @slot('title') 银行卡 @endslot
                @component('backend::component.form.input')
                        @slot('name') bank_card @endslot
                        @slot('value') {{$info->info->bank_card ?? ''}} @endslot
                @endcomponent
                @slot('remark') 必须是本人名下银行卡 @endslot
        @endcomponent

    @component('backend::component.form.form-group')
                @slot('title') 开户行 @endslot
                @component('backend::component.form.input')
                        @slot('name') bank_name @endslot
                        @slot('value') {{$info->info->bank_name ?? ''}} @endslot
                @endcomponent
        @endcomponent

    @component('backend::component.form.form-group')
                @slot('title') 预留手机号 @endslot
                @component('backend::component.form.input')
                     @slot('name') bank_mobile @endslot
                     @slot('value') {{$info->info->bank_mobile ?? ''}} @endslot
                @endcomponent
    @endcomponent

    @component('backend::component.form.form-group')
        @slot('title') 性别 @endslot
        <div>
            @foreach(['0'=>'男','1'=>'女'] as $value=>$title)
                @component('backend::component.radio')
                    @slot('title') {{$title}} @endslot
                    @slot('name') user_sex @endslot
                    @slot('value') {{$value}} @endslot
                    @if($value == ($info->info->user_sex ?? 0))
                        @slot('checked') checked @endslot
                    @endif
                @endcomponent
            @endforeach
        </div>
    @endcomponent

    @component('backend::component.form.form-group')
        @slot('title') 居住地区 @endslot
        <div class="layui-form layui-form-pane">
             <div class="layui-form-item post-area" lay-filter="post-area"></div>
        </div>
    @endcomponent

    @component('backend::component.form.form-group')
        @slot('title') 详细地址 @endslot
        @component('backend::component.form.textarea')
                @slot('name') live_address @endslot
                @slot('value') {{$info->info->live_address ?? ''}} @endslot
                @slot('row') 2 @endslot
        @endcomponent
    @endcomponent

    @component('backend::component.form.button')
        @slot('title') 提交 @endslot
        @slot('size') sm @endslot
        @slot('params') {"formId":"#user-detail"} @endslot
        @slot('class') btn-min-width ajax-form @endslot
    @endcomponent
</form>